/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.risk.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class LocalCheckListEntry extends BaseEntity{
	@ApiModelProperty(value = "检查表名称", name = "dictIndex", required = true)
    private String name;
    @ApiModelProperty(value = "标准检查表编码，如有危险源与危险源编码一致", name = "code" )
    private String code;
    @ApiModelProperty(value = "公司code", name = "corpCode" )
    private String corpCode;
    private String corpName;
    @ApiModelProperty(value = "标准检查表code", name = "templateCode" )
    private String templateCode;
    @ApiModelProperty(value = "检查表类型,来自基础配置,按是否有对应的危险源来分,分为危险源检查表、专项检查表、领导检查表、临时检查表", name = "checklistEntryTypeId", required = true)
    private String checklistEntryTypeId;
    private String checklistEntryTypeName;
    @ApiModelProperty(value = "危险源ID", name = "localHazardSourceId" )
    private String localHazardSourceId;
    @ApiModelProperty(value = "状态: 0表示废弃、1表示发布", name = "state" )
    private Integer state;
    @ApiModelProperty(value = "业态ID", name = "businessTypeId", required = true)
    private String businessTypeId;
    private String businessTypeName;
    @ApiModelProperty(value = "是否配置检查项", name = "hasItems", required = true)
    private Integer hasItems;
    @ApiModelProperty(value = "状态标记：0草稿1审批中2审批通过", name = "fstatusflag" )
    private Integer fstatusflag;
    private String addTimeStr;
	//检查项
	private List<LocalCheckListItem> itemList;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCorpCode() {
		return corpCode;
	}
	public void setCorpCode(String corpCode) {
		this.corpCode = corpCode;
	}
	public String getTemplateCode() {
		return templateCode;
	}
	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}
	public String getChecklistEntryTypeId() {
		return checklistEntryTypeId;
	}
	public void setChecklistEntryTypeId(String checklistEntryTypeId) {
		this.checklistEntryTypeId = checklistEntryTypeId;
	}
	public String getLocalHazardSourceId() {
		return localHazardSourceId;
	}
	public void setLocalHazardSourceId(String localHazardSourceId) {
		this.localHazardSourceId = localHazardSourceId;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getBusinessTypeId() {
		return businessTypeId;
	}
	public void setBusinessTypeId(String businessTypeId) {
		this.businessTypeId = businessTypeId;
	}
	public Integer getHasItems() {
		return hasItems;
	}
	public void setHasItems(Integer hasItems) {
		this.hasItems = hasItems;
	}
	public Integer getFstatusflag() {
		return fstatusflag;
	}
	public void setFstatusflag(Integer fstatusflag) {
		this.fstatusflag = fstatusflag;
	}
	public List<LocalCheckListItem> getItemList() {
		return itemList;
	}
	public void setItemList(List<LocalCheckListItem> itemList) {
		this.itemList = itemList;
	}
	public String getChecklistEntryTypeName() {
		return checklistEntryTypeName;
	}
	public void setChecklistEntryTypeName(String checklistEntryTypeName) {
		this.checklistEntryTypeName = checklistEntryTypeName;
	}
	public String getBusinessTypeName() {
		return businessTypeName;
	}
	public void setBusinessTypeName(String businessTypeName) {
		this.businessTypeName = businessTypeName;
	}
	public String getCorpName() {
		return corpName;
	}
	public void setCorpName(String corpName) {
		this.corpName = corpName;
	}

	public String getAddTimeStr() {
		return addTimeStr;
	}

	public void setAddTimeStr(String addTimeStr) {
		this.addTimeStr = addTimeStr;
	}
}
